package com.lovo.pis.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lovo.pis.dto.PageBean;
import com.lovo.pis.dto.SupplierBean;

import java.util.List;

public interface ISupplierService {

    IPage<SupplierBean> queryByItem(PageBean<SupplierBean> pageInfo);

    List<SupplierBean> queryAllName();

    SupplierBean queryById(int id);

    void changeById(SupplierBean supplierBean);

    void addSupplier(SupplierBean supplierBean);

    boolean saveExcelDataTo(List<SupplierBean> list);
}
